{if $item}
<ul class="treeview-famfamfam">
{foreach from=$item item=i}
<li>
	<a href="/products/category/{$i->getPk()}">{$i->title|stripslashes} ({$i->getCountProducts()})</a>
	{include file="section_submenu.tpl" item=$SM->getByparent_id($i->getPk())}
</li>
{/foreach}
</ul>
{/if}